import { Dayjs } from 'dayjs';
export interface EtpMgtTableParams {
  current: number;
  name: string;
  size: number;
}
export interface EtpMgtTableRecord {
  id: number;
  idaasTenantId: number;
  industry: string;
  channel: string;
  location: string;
  registerTime: string;
  expireTime: string;
  convertTime: string;
  enabled: boolean;
  status: string;
  code: string;
  phone: string;
  email: string;
  password: string;
  name: string;
  alias: string;
  isBuiltIn: boolean;
  isConverted: boolean;
  isSelfDomain: boolean;
  domain: string;
  certificateId: number;
  displayName: string;
  displayLogo: string;
  type: number;
  typeDsc: string;
  enabledStr: string;
  isBuiltInStr: string;
}
export interface EtpMgtTableItem {
  current: number;
  pages: number;
  records: EtpMgtTableRecord[];
  size: number;
  total: number;
}
export interface StatusItem {
  desc: string;
  status: string;
}
export interface UpdateEntMgtParam {
  id: number;
  name: string;
  userName: string;
  password?: string;
  checkPassword: string;
  phone?: string;
  industry: string;
  location: string;
  channel: string;
  email?: string;
  alias: string;
  type?: number;
  code: string;
  isBuiltIn?: boolean | string;
  deployStrategy: string;
  expireTime?: string;
  registerTime: string;
  enabled: boolean;
  expireTimeDjs: Dayjs;
  imagesList: any;
  deleteImagesList: any;
}

export interface AuditEntMgtParam {
  action: string;
  id: number;
  rejectedReason: string;
}

export interface AppPackageAuthList {
  appId: number;
  packageIdList: number[];
  expireTime: string;
  id?: string;
}
export interface AuthEntMgtParam {
  tenantId: number;
  appPackageAuthList: AppPackageAuthList[];
}
export interface DecrytionParam {
  userId?: string;
  tenantCode?: string;
  type: string;
}
